home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
FM Towns: Free Software Collection 6
/
FM Towns Free Software Collection 6.iso
/
t_os
/
chord2
/
chord.bas
next >
Wrap
BASIC Source File
|
1993-07-08
|
2KB
|
93 lines
10 '
20 ' chord.bas
30 '
40 '
50 '
60 CLS:COLOR 7
70 LOAD@ "clas_c.pmb"
80 P$="@1":O=0:WA=0
90 PLAY ,,,,,,P$,P$,P$,P$,P$,P$
100 '
110 DIM C(8,5),S$(8),L$(13),PX(26),PY(26)
120 '
130 RESTORE 670
140 READ A$:IF A$<>"\" THEN PRINT A$:GOTO 140
150 I=1
160 FOR I=1 TO 12:READ L$(I):NEXT
170 '
180 FOR I=0 TO 1
190 READ G$
200 FOR J=1 TO LEN(G$)
210 LINE(283+J*8,200+I*32)-STEP(8,32),PSET,VAL(MID$(G$,J,1)),BF
220 NEXT J,I
230 FOR I=0 TO 7
240 LINE(291+I*24,200)-STEP(0,64),PSET,0
250 NEXT I
260 '
270 FOR I=0 TO 12
280 READ PX(I)
290 NEXT
300 '
310 FOR I=0 TO 12
320 READ PY(I)
330 NEXT
340 '
350 RESTORE 570
360 '
370 FOR I=0 TO 8
380 READ S
390 READ S$(S),C(S,0),C(S,1),C(S,2),C(S,3) ,C(S,4)
400 NEXT
410 '
420 R$=INPUT$(1)
430 FOR I=0 TO 3
440 LOCATE 38+PX((R+C(S,I)) MOD 12),11+PY((R+C(S,I)) MOD 12)*2:PRINT" "
450 NEXT I
460 R=INSTR("cfvgbnjmk,l.",R$)
470 IF R=0 THEN 420
480 S=PAD(1):COLOR 7:LOCATE 45,15:PRINT L$(R);" ";S$(S);" ":COLOR 5
490 '
500 FOR I=0 TO 4
510 OUTM #255,&H96+I,57+((R+C(S,I)) MOD 12)+O,120
520 IF I<=3 THEN LOCATE 38+PX((R+C(S,I))MOD 12),11+PY((R+C(S,I))MOD 12)*2:PRINT"@"
530 FOR J=0 TO WA:NEXT
540 NEXT I
550 GOTO 420
560 '
570 DATA 0," ", 0,4,7,0,-12
580 DATA 1,"m ", 0,3,7,0,-12
590 DATA 2,"dim7", 0,3,6,9,-12
600 DATA 3,"m7 ", 0,3,7,10,-12
610 DATA 4,"M7 ", 0,4,7,11,-12
620 DATA 5,"7 ", 0,4,7,10,-12
630 DATA 6," ", 0,0,0,0,-12
640 DATA 7,"7sus4", 0,5,7,10,-12
650 DATA 8,"sus4", 0,5,7,0,-12
660 '
670 DATA "PAD - CHORD -"
680 DATA " m "
690 DATA " sus4 dim7"
700 DATA "7sus4 * m7 "
710 DATA " --- M7"
720 DATA " 7 押さない ・・・ メイジャー コード"
730 DATA "----------------------------------------------------"
740 DATA ""
750 DATA "KEY BOARD"
760 DATA ""
770 DATA " C#Db D#b F#Gb G#Ab A#Bb"
780 DATA ""
790 DATA " F G J K L"
800 DATA ""
810 DATA " C V B N M , ."
820 DATA ""
830 DATA " C D E F G A B"
840 DATA "\"
850 '
860 DATA "C ","C#Db","D ","D#Eb","E ","F ","F#Gb","G ","G#Ab","A ","A#Bb","B "
870 '
880 DATA "77007007777007007007770"
890 DATA "77777777777777777777777"
900 '
910 DATA 18,0,1,3,4,6,9,10,12,13,15,16,18
920 DATA 1,1,0,1,0,1,1,0 ,1 ,0 ,1 ,0 ,1